<?php 
namespace app\home\controller;
use think\Controller;
/**
* 学生风采详情页控制器
*/
class Studetials extends Common
{
	
	public function index(){
		$stuid=input('id');
		db('student_style')->where(array('id'=>$stuid))->setInc('click');//点击次数
		$studentRes=db('student_style')->find($stuid);
		$this->assign('studentRes',$studentRes);
		return	$this->fetch('studetials');
	}
}